﻿<%@ Page Title="" Language="C#" MasterPageFile="~/masDefault.master" AutoEventWireup="true" CodeFile="ProductHot.aspx.cs" Inherits="ProductHot" %>
<%@ Register Assembly="CommonTagTime" Namespace="CommonTagTime.PagerControl.stylePager2" TagPrefix="cc1" %>
<%@ Register Src="UserControl/ProductItem.ascx" TagName="ucProductItem" TagPrefix="uc1" %>
<%@ Register Src="UserControl/BannerLeft.ascx" TagName="BannerLeft" TagPrefix="uc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title></title>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="Server">

    <uc:BannerLeft ID="BannerLeft" runat="server" />
    <div class="msg"><asp:Literal ID="ltrContentPage" runat="server"></asp:Literal></div>

    <div class="productPagingTop">
         <cc1:stylePager2 ID="pagerTop" runat="server" 
            OnPageIndexChanging="pagerTop_PageIndexChanging" 
            onpagesizechanging="pagerTop_PageSizeChanging" ShowPageSize="True" 
            ShowViewAll="True"  />
    </div>

    <asp:DataList ID="dalProduct" runat="server" RepeatColumns="4" ItemStyle-CssClass="listProductTD"
        RepeatLayout="Table" CssClass="listProduct" RepeatDirection="Horizontal" OnItemDataBound="dalProduct_ItemDataBound">
        <ItemTemplate>
            <asp:PlaceHolder ID="phdControlProduct" runat="server"></asp:PlaceHolder>
        </ItemTemplate>
    </asp:DataList>

    <div class="productPagingBottom">
         <cc1:stylePager2 ID="pagerBottom" runat="server" 
            OnPageIndexChanging="pagerTop_PageIndexChanging" 
            onpagesizechanging="pagerTop_PageSizeChanging" ShowPageSize="True" 
            ShowViewAll="True"  />
    </div>

    <% if (TotalProducts == 0)
       {%>
       <%--<div class="emptylist">Không có sản phẩm nào trong danh sách</div>--%>
       <% } %>
    <div class="clear">&nbsp;</div>

</asp:Content>
